﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RemoteManger.Entity
{
    public  class MachineInfo
    {
        [SqlSugar.SugarColumn(IsPrimaryKey = true)]
        public long Id { get; set; } = SnowFlake.GenerateId();

        public string Title { get; set; }
        public string Ip {  get; set; }
        public int  Port { get; set; }

        public string UserName {  get; set; }
        public string Password { get; set; }    
        public string Remark { set; get; }

        public long GroupId { set; get; }
 
    }
    public class MachineView: MachineInfo
    {
        public string Connect { set; get; }

    }

    public class MachineGroupInfo
    {
        public string GroupName { set; get; }
        [SqlSugar.SugarColumn(IsPrimaryKey = true)]

        public long Id { set; get; }
        public string Remark { set; get; }
    }
    }
